package club.zhcs.capture.vo;

import java.io.Serializable;
import java.util.List;

import club.zhcs.capture.bean.auth.Permission;

import org.nutz.json.Json;
import org.nutz.json.JsonFormat;


public class MenuNode implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Consts.PermissionGroup group;

	private List<Permission> permissions;

	public Consts.PermissionGroup getGroup() {
		return group;
	}

	public void setGroup(Consts.PermissionGroup group) {
		this.group = group;
	}

	public List<Permission> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}

	@Override
	public String toString() {
		return Json.toJson(this, JsonFormat.compact());
	}

}
